package cn.exrick.xboot.base.vo

import com.fasterxml.jackson.annotation.JsonFormat
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import org.springframework.format.annotation.DateTimeFormat
import java.math.BigDecimal
import java.util.*

@ApiModel("考试记录实体")
data class EnterpriseEmployeeRecordVo(

        @ApiModelProperty("考试记录id")
        var id: String? = null,

        @ApiModelProperty("创建者", hidden = true)
        var createBy: String = "",

        @ApiModelProperty("岗位培训分支id")
        var jobTrainPartId: String? = null,

        @ApiModelProperty
        var jobTrainPartTitle: String? = null,

        @ApiModelProperty("考试类型(1.单选 2.多选 3.判断)")
        var TestType: Int? = null,

        @ApiModelProperty("考试分数")
        var TestScore: BigDecimal? = BigDecimal(0.0),

        @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @ApiModelProperty(value = "创建时间", hidden = true)
        var createTime: Date? = null
)